SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 39928: Exception received when attempting to send a report with a DBCS name to an e-mail recipient

DetailsAboutRate It

In SAS® Enterprise Guide, if you attempt to e-mail a report that contains a double byte character set (DBCS) in the name of the report, you might receive the following exception:

Xceed.Zip.InvalidZipStructureException

Could not find a central header where one was expected in the zip file.
Type: Xceed.Zip.ZipArchive
FullName: \
Zip file: C:\Documents and Settings\userid\Local
Settings\Temp\SEG8156\f78f1ba0-4e73-4942-8af2-4d8650c87467\Report.zip

------------------------------ Technical Information Follows
------------------------------

Xceed.Zip.InvalidZipStructureException: Could not find a central header where
one was expected in the zip file.
Type: Xceed.Zip.ZipArchive
FullName: \
Zip file: C:\Documents and Settings\userid\Local
Settings\Temp\SEG8156\f78f1ba0-4e73-4942-8af2-4d8650c87467\Report.zip
   at Xceed.FileSystem.AbstractFile.CopyTo(FileSystemEvents events, Object
userData, AbstractFile destinationFile, Boolean replaceIfExists)
   at Xceed.FileSystem.AbstractFile.CopyTo(AbstractFile destinationFile, Boolean
replaceIfExists)
   at
SAS.EG.ProjectElements.SendToMailHelper.CopyPhysicalDirectoryToZipDirectory(Dire
ctoryInfo physicalDirectory, AbstractFolder zippedFolder)
   at
SAS.EG.ProjectElements.SendToMailHelper.CopyPhysicalDirectoryToZipDirectory(Dire
ctoryInfo physicalDirectory, AbstractFolder zippedFolder)
   at
SAS.EG.ProjectElements.SendToMailHelper.CreateZipFileFromDirectory(DirectoryInfo
directory, String defaultFileName)
   at SAS.EG.ProjectElements.SendToMailHelper.Send(Element element, String
profile, String password, StringCollection toList, StringCollection copyList,
StringCollection blindCopyList, String subject, String text, Boolean prompt)
   at SAS.EG.ProjectElements.SendToMailHelper.Send(Element element)
   at SAS.EG.ProjectElements.Element.SendToMailRecipient()
   at SAS.EG.SEGuide.MainForm.SendToMailInvoked(Element element)

The problem is that the .zip files do not support unicode characters. The circumvention is to use Ascii characters as the filename of the report.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.24.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition4.24.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition4.24.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition4.24.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2003 for x644.24.39.2 TS2M09.3 TS1M0
Microsoft Windows Server 2008 for x644.24.39.2 TS2M09.3 TS1M0
Microsoft Windows XP Professional4.24.39.2 TS2M09.3 TS1M0
Windows Vista4.24.39.2 TS2M09.3 TS1M0
Windows Vista for x644.24.39.2 TS2M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.